home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
nomove
/
nomove2.frm
< prev
Wrap
Text File
|
1995-05-08
|
997b
|
42 lines
VERSION 2.00
Begin Form Form2
Caption = "Form2"
ClientHeight = 1980
ClientLeft = 6465
ClientTop = 3420
ClientWidth = 2430
Height = 2670
Left = 6405
LinkTopic = "Form2"
ScaleHeight = 1980
ScaleWidth = 2430
Top = 2790
Visible = 0 'False
Width = 2550
Begin Menu mnuMain
Caption = "Main"
Begin Menu mnuMinimize
Caption = "&Minimize"
End
Begin Menu mnuClose
Caption = "&Close"
End
End
End
Sub Form_Load ()
'this adds the "Alt+F4" to the menu caption.
mnuClose.Caption = "&Close" + Chr$(9) + "Alt+F4"
End Sub
Sub mnuClose_Click ()
'close the program
End
End Sub
Sub mnuMinimize_Click ()
'minimizes form1 when clicked.
Form1.WindowState = 1
Form1.Caption = Form1.Label1.Caption
End Sub